package com.example.backupgeo.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class Teacher extends Account {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String username;
    private String password;
    private String name;
    private String title;
    private String nickname;
    private Integer speciality_id;
    private String sex;
    private String role;

    @Override
    public String toString() {
        return "User [id=" + id +
                ", username=" + username +
                ", password=" + password +
                ", name=" + name +
                ", role=" + "]";
    }

}
